# 打印实心三角形
row = int(input("请输入要打印的行数："))
for x in range(1, row + 1):
    i = 1
    while i <= x:
        print("*", end="")
        i = i + 1
    print("\n")
